package com.smartfactory.sail.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: PickingInfoDto
 * @projectName smart-sail
 * @description: 简化picking对象
 * @date 2019/8/270:12
 */
@Data
public class PickingInfoDto {

    @ApiModelProperty(value = "这个id 提交领取数据时传过来")
    private Long pickingId;

    @ApiModelProperty(value = "原料编码")
    @TableField("materialCode")
    private String materialCode;

    @ApiModelProperty(value = "领料率百分比-暂时不用 因为最大领料数我已经算了")
    @TableField("pickingRate")
    private Integer pickingRate;

    @ApiModelProperty(value = "名称")
    @TableField("materialName")
    private String materialName;

    @ApiModelProperty(value = "待领取最小量")
    @TableField("unclaimedMinSize")
    private Integer unclaimedMinSize;

    @ApiModelProperty(value = "待领取最大数量")
    @TableField("unclaimedMaxSize")
    private Integer unclaimedMaxSize;

    @ApiModelProperty(value = "已经领取数量")
    @TableField("receivedSize")
    private Integer receivedSize;

    @ApiModelProperty(value = "当前可领库存")
    private Integer storageSize;

    @ApiModelProperty(value = "已领次数")
    @TableField("pickingCount")
    private Integer pickingCount;

    @ApiModelProperty(value = "生产单个产品需要的原料数")
    private Integer needSize;

}
